package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 粮情主下的详情对象 grainsituation_record_detail
 * 
 * @author ruoyi
 * @date 2025-04-03
 */
@TableName(value = "grainsituation_record_detail")
@Data
@ApiModel("粮情主下的详情")
public class GrainsituationRecordDetail
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @ApiModelProperty("主键自增")
    private Long id;

    /** 关联主键的id */
    @Excel(name = "关联主键的id")
    @ApiModelProperty("关联主键的id")
    @TableField("recordID")
    private Long recordID;

    /** x坐标 */
    @Excel(name = "x坐标")
    @ApiModelProperty("x坐标")
    @TableField("xnum")
    private Integer xnum;

    /** y坐标 */
    @Excel(name = "y坐标")
    @ApiModelProperty("y坐标")
    @TableField("ynum")
    private Integer ynum;

    /** z坐标 */
    @Excel(name = "z坐标")
    @ApiModelProperty("z坐标")
    @TableField("znum")
    private Integer znum;

    /** 温度值结果 */
    @Excel(name = "温度值结果")
    @ApiModelProperty("温度值结果")
    @TableField("temValue")
    private BigDecimal temValue;

    @ApiModelProperty("仓房id")
    @TableField(exist = false)
    private Long warehouseId;

    @ApiModelProperty("检测时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime detectionTime;

}
